package au.com.somethingwritten.model;

import java.util.ArrayList;
import java.util.Date;

public class Order {
	Date orderDate;
	Integer shippingMethodId;
	String address;
	String city;
	String state;
	Integer postcode;
	Payment payment;
	String shippingStatus;
	String guestEmail;
	ArrayList<CartItem> orderItems;
	
	public Order(Date orderDate, Integer shippingMethodId,
			String address, String city, String state, Integer postcode,
			Payment payment, String shippingStatus, String guestEmail, ArrayList<CartItem> orderItems) {
		this.orderDate = orderDate;
		this.shippingMethodId = shippingMethodId;
		this.address = address;
		this.city = city;
		this.state = state;
		this.postcode = postcode;
		this.payment = payment;
		this.shippingStatus = shippingStatus;
		this.guestEmail = guestEmail;
		this.orderItems = orderItems;
	}
	
	public Date getOrderDate() {
		return orderDate;
	}

	public Integer getShippingMethodId() {
		return shippingMethodId;
	}

	public String getAddress() {
		return address;
	}

	public String getCity() {
		return city;
	}

	public String getState() {
		return state;
	}

	public Integer getPostcode() {
		return postcode;
	}

	public Payment getPayment() {
		return payment;
	}

	public String getShippingStatus() {
		return shippingStatus;
	}

	public String getGuestEmail() {
		return guestEmail;
	}
	
	public ArrayList<CartItem> getOrderItems(){
		return orderItems;
	}
	
	
}
